package com.auth.manage.lock.config;

import com.auth.manage.lock.DistributeAspect;
import org.redisson.api.RedissonClient;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class DistributeLockConfig {
    @Bean
    public DistributeAspect distributeAspect(RedissonClient redissonClient){
        return new DistributeAspect(redissonClient);
    }
}
